package com.whpu.mapper;

import com.whpu.pojo.Account;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by RiceBall on 2020/9/29 9:12
 */
@Repository
public interface AccountMapper {

    void updateMoney(@Param("id") int id, @Param("money") double money);

    Account findById(int id);
}
